package com.ytjj.qmyx.supplychain.common.model.response;

import com.ytjj.qmyx.supplychain.common.model.request.ProductImgRequest;
import com.ytjj.qmyx.supplychain.common.model.request.ProductReportRequest;
import com.ytjj.qmyx.supplychain.common.model.request.ProductSkuKeyRequest;
import com.ytjj.qmyx.supplychain.common.model.request.ProductSpecRequest;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 **/
@Data
public class ProductDataResponse {


    private Integer id;

    private Integer topCategoryId;
    private String topCategoryName;

    private Integer categoryId;
    private String categoryName;

    private Integer bottomCategoryId;
    private String bottomCategoryName;

    private Integer brandId;
    private String brand;

    private String typeno;

    private String qualityReport;

    private String zipUrl;

    private String productName;

    private String descr;

    private String productImg;

    private BigDecimal originalPrice;

    private BigDecimal salePrice;

    private BigDecimal costPrice;

    private Integer stockWarning;

    private Integer stockEvaluation;

    private Integer status;
    private Integer auditStatus;

    private Integer addressId;//地址id

    private List<ProductReportRequest> reportArray;

    private List<ProductSkuKeyRequest> skuKey;

    private List<ProductImgRequest> bannerList;

    private List<ProductImgRequest> infoList;

//    private List<ProductSpecRequest> spec;

    private List<Map<String, Object>> spec;

    /**
     * 商品类型 1国内 2国外
     */
    private Integer isExit;

    /**
     * 邮寄类型（mailType）：一般贸易，直邮，保税
     */
    private String mailType;

    /**
     * 邮寄备注：mailNote
     */
    private String mailNote;

    private Integer controlPrice;
    private String controlReason;

    /**
     * 运费模板
     */
    private Integer freightId;
    /**
     * 批发商品数量区间，字符串格式
     */
    private List<String> wholesaleNameArr;

    /**
     * 商品详情图
     */
    private String infoImg;
    /**
     * customs_no  海关商品编号
     */
    private String customsNo;

    /**
     *country_id  所属国家编码
     */
    private String countryCode;
    /**
     * 所属单位编码
     */
    private String unitCode;
    /**
     * 跨境电商综合税率
     */
    private BigDecimal consolidatedTaxRate;
    /**
     * 供应商id
     */
    private Integer bankerId;
    /**
     * 发货仓名称
     */
    private String entrepotName;
}
